<me:UIVAK x:Class="WPFExcelReport.TSAVA02"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls" 
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                     x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIVAK.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIVAK.Resources> 
        <WrapPanel>
        <Button  Grid.Column="1" Click="ManageCommand" Width="12" Height="20" HorizontalAlignment="Left" 
                 Visibility="{Binding IsMaster,Converter={StaticResource bv}}" >
            <Button.Background>
                <ImageBrush  ImageSource="/ImagePackage;component/Images/Extend.png" />
            </Button.Background>
        </Button>
        <ComboBox Grid.Row="0" Grid.Column="1"
                     IsEditable="True"
                     Width="80" 
                     SelectedValuePath="VAKKOLL"
                    DisplayMemberPath="VAKKOLL"  
                    ItemsSource="{Binding Source={StaticResource ResourceKey=vwMaster}}"  
                    DropDownOpened="ComboBox_DropDownOpened"
                    IsSynchronizedWithCurrentItem="True" 
                    >
        </ComboBox  >
       
    </WrapPanel>
</me:UIVAK>
